Ninja Database Pro
Read Me First
Basic Tasks > Read Me First

Thank you for choosing Ninja Database Pro as your database. 

 

These are the most important things you should know before using Ninja Database Pro:

 

 

·         Relationships cannot be changed.  Design your domain model well up front before the first record is saved.  Child objects can be saved together with the current object or saved into a separate table.  The relationship cannot be changed once defined.

·        Object Children vs. Seperate Children.  Children and parents can be saved into seperate tables by defining attributes on properties for the relationships.  This has the advantage of being able to query the children seperately.  With no attributes, children and parents are automatically saved embedded with the current object.  See Setting up Relationships

·         Classes and namespaces cannot be easily renamed.  The database model is tied directly to your classes. If you need to rename something create the new class, do a LoadAll and copy the old class into the new class.  If the code for the class has been lost, do an ExportSchema to regenerate your classes.   

·         Child records are cascade deleted.  For example; an Order has a child list of OrderDetails.  When the Order is deleted, the associated OrderDetails will be deleted automatically.